using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;

public class DialogueUI : MonoBehaviour
{


    public Transform target;

    public Vector3 offset = new Vector3(0, 2, 0);
    
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        if (target != null)
        {
            transform.position = target.position + offset;
            
        }
    }

    public void ShowDialogue(string text)
    {
        
    }
    public void HideDialogue()
    {
        
    }
}
